package com.b511.swpu.cementbackend.repository;

import com.b511.swpu.cementbackend.entity.CM_WK_AdditiveConsume;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import java.util.List;

public interface CM_WK_AdditiveConsumeRepository extends JpaRepository<CM_WK_AdditiveConsume, String>,
        JpaSpecificationExecutor<CM_WK_AdditiveConsume> {

    List<CM_WK_AdditiveConsume> findByWellNameAndCasingSize(String wellName, String casingSize);

    List<CM_WK_AdditiveConsume> findByWellName(String wellName);

}
